Skip to content

Conversation

@ulixxe
Copy link

@ulixxe ulixxe commented Apr 27, 2025

Enable two-factor authentication (2FA) by creating a password that combines the value from the --credential option with the TOTP generated using the secret specified by the --totp option.

@tsl0922
Copy link
Owner

tsl0922 commented Jul 2, 2025

Thanks for your contribution.

Personally, I don't want to add more heavy features on ttyd, because I want to keep it simple.

To make a shell work with TOTP, you have many other options like using a PAM plugin.

@kwuite
Copy link

kwuite commented Jan 20, 2026

@ulixxe I placed a caddy security portal in front of ttyd for maximum security. Caddy security offers MFA, OIDC, JWT, whatever you need. We developed this package for automated setups .

https://www.npmjs.com/package/@accelerated-software-development/caddy-api-client

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants